Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes openedx/xapi-db-load#117
'earned' events include score and a grade classification that we are currently not using. This change uses that (for course events) in combination with the pass/fail events
caveat: passed/failed verb events do NOT have a score associated with them so there is still a possibility of a learner with 'passed' status and '0' score
new dashboard data:
![image](https://private-user-images.githubusercontent.com/170115515/402669858-5031b265-4a66-46bf-8fe3-d41918df3b0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTA4MDEsIm5iZiI6MTczOTI1MDUwMSwicGF0aCI6Ii8xNzAxMTU1MTUvNDAyNjY5ODU4LTUwMzFiMjY1LTRhNjYtNDZiZi04ZmUzLWQ0MTkxOGRmM2IwZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwNTA4MjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mYWMwYTRmNmQwNDQ4M2U2ZDkwNDJlMzljYTg5ZmVkNjFmNjhkOWUwYzBkZjQ5NTFiZGEwYzAwM2UwZGY5NDNlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.kiE4MwdQ59rXHJSwVE2OLwQ4QcS_bhKTzzL4bKNkJ94)
'earned' grade classification data:
![image](https://private-user-images.githubusercontent.com/170115515/402670330-8a57915a-f661-456c-950a-b430179dc2c9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNTA4MDEsIm5iZiI6MTczOTI1MDUwMSwicGF0aCI6Ii8xNzAxMTU1MTUvNDAyNjcwMzMwLThhNTc5MTVhLWY2NjEtNDU2Yy05NTBhLWI0MzAxNzlkYzJjOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwNTA4MjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYTM5ZWI0OWYxODczNjdiZDE1NDZiMTU1MTQ4YzIzM2IxNzJhMDg4NGM2MGMwOGNhNTUzMDg0Nzg1NWI3NWE5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.xxq-IuCqvlIQqWqgwg41wh7tdYk4G3FQgX4GyZkZYjw)